<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<%@page import="avicit.platform6.core.locale.PlatformLocalesJSTL"%>
<%@page import="java.util.Locale"%>
<%@page import="avicit.platform6.api.session.SessionHelper"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ page import="avicit.platform6.commons.utils.ViewUtil"%>
<%@ taglib prefix="sec"
	uri="/WEB-INF/tags/shiro.tld"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>库结构定义</title>
<base href="<%=ViewUtil.getRequestPath(request)%>">
<%
	Locale locale =SessionHelper.getLocaleByUser(request);
%>
<jsp:include
	page="/avicit/platform6/component/common/EasyUIJsInclude.jsp"></jsp:include>
<%
	String sysId = request.getParameter("sysId");
	String tableName = request.getParameter("tableName");
	String nodeTypeNew = request.getParameter("nodeType");
	String nodeId = request.getParameter("nodeId");
	String nodeName = request.getParameter("nodeName");
	String archiveType = request.getParameter("archiveType");
	String nodeCode = request.getParameter("nodeCode");
	String copyNodeData = request.getParameter("copyNodeData");
%>
<script type="text/javascript"
	src="avicit/cbb/techclass/tabledefine/commtablemanager/table_define_manager_interface.js"></script>
<script type="text/javascript">
var baseurl = "<%=ViewUtil.getRequestPath(request)%>";
$(function() {
	sysId = "<%=sysId%>";
	tableName = "<%=tableName%>";
	nodeTypeNew = "<%=nodeTypeNew%>";
	nodeId = "<%=nodeId%>";
	nodeName = "<%=nodeName%>";
	archiveType = "<%=archiveType%>";
	nodeCode = "<%=nodeCode%>";
	copyNodeData = "<%=copyNodeData%>";
		document.getElementById("iframe_tab_structure").src = "avicit/cbb/techclass/tabledefine/commtablemanager/table_structure.jsp?sysId="
				+ sysId
				+ "&tableName="
				+ tableName
				+ "&nodeType="
				+ nodeTypeNew
				+ "&nodeId="
				+ nodeId
				+ "&nodeName="
				+ nodeName
				+ "&nodeCode="
				+ nodeCode + "&copyNodeData=" + copyNodeData;
		var height = document.documentElement.clientHeight - 45;
		document.getElementById("tabStructure").style.height = height;
		document.getElementById("tabRecord").style.height = height;
		document.getElementById("tabCode").style.height = height;
		document.getElementById("tabPageShow").style.height = height;
		document.getElementById("tabSort").style.height = height;
		document.getElementById("tabSearch").style.height = height;
		document.getElementById("tabIndex").style.height = height;
	});

	$(window).resize(function(){
		setTimeout(function(){
			$("#tt").tabs('resize',{
				width:$(window).width(),
				height:$(window).height()
			})
		})
	})
</script>
<style type="text/css">
.textbox {
	border: solid 1px #a5acb5;
}

.input,img {
	vertical-align: middle;
}

<!--
实现input和img水平对齐 -->.labelbg {
	background:
		url('../../js/jQuery/jquery-easyui-1.3.5/themes/icons/required.gif')
		right 0 no-repeat;
}
#detailDiv,#tt,.tabs-header,.tabs-wrap,.tabs-panels,.panel{
 width:100% !important;
}
#tabStructure{
width:100% !important;
 }
</style>
</head>
<body id="myBody" class="easyui-layout">
	<div id="detailDiv" region="center," style="height:100%; font-size:0;" fit="true">
		<div id="tt" class="easyui-tabs" data-options="fit:true">
			<%-- 结构定义 --%>
			<div title="<%=PlatformLocalesJSTL.getBundleValue("lantop.basicdatamanager.libstructuredefine.structureDefine","i18n.lantop",locale)%>" style="overflow: hidden;height:100%;width:100% !important;"
				id="tabStructure" data-options="fit:true">
				<iframe id="iframe_tab_structure" frameborder="0"
					style="width: 100%; height: 100%; overflow: hidden;" src=""></iframe>
			</div>
			<%-- 代码维护 --%>
			<div title="<%=PlatformLocalesJSTL.getBundleValue("lantop.basicdatamanager.libstructuredefine.codeMaintain","i18n.lantop",locale)%>" style="overflow: hidden;" id="tabCode"
				data-options="fit:true">
				<iframe id="iframe_tab_code" frameborder="0"
					style="width: 100%; height: 100%; overflow: hidden;" src=""></iframe>
			</div>
			<%-- 著录定义 --%>
			<div title="<%=PlatformLocalesJSTL.getBundleValue("lantop.basicdatamanager.libstructuredefine.recordDefine","i18n.lantop",locale)%>" style="overflow: hidden;"
				id="tabRecord" data-options="fit:true">
				<iframe id="iframe_tab_record" name="iframe_tab_record"
					frameborder="0" style="width: 100%; height: 100%; overflow: hidden;"
					src=""></iframe>
			</div>
			<%-- 网页显示 --%>
			<div title="<%=PlatformLocalesJSTL.getBundleValue("lantop.basicdatamanager.libstructuredefine.webpageShow","i18n.lantop",locale)%>" style="overflow: hidden;"
				id="tabPageShow" data-options="fit:true">
				<iframe id="iframe_tab_page_show" frameborder="0"
					style="width: 100%; height: 100%; overflow: hidden;" src=""></iframe>
			</div>
			<%-- 排序设置 --%>
			<div title="<%=PlatformLocalesJSTL.getBundleValue("lantop.basicdatamanager.libstructuredefine.sortSet","i18n.lantop",locale)%>" data-options=""
				style="overflow: hidden;" id="tabSort"
				data-options="fit:true">
				<iframe id="iframe_tab_sort" frameborder="0"
					style="width: 100%; height: 100%; overflow: hidden;" src=""></iframe>
			</div>
			<%-- 分类检索字段 --%>
			<div title="<%=PlatformLocalesJSTL.getBundleValue("lantop.basicdatamanager.libstructuredefine.classifySearchField","i18n.lantop",locale)%>" data-options=""
				style="overflow: hidden;" id="tabSearch"
				data-options="fit:true">
				<iframe id="iframe_tab_search" frameborder="0"
					style="width: 100%; height: 100%; overflow: hidden;" src=""></iframe>
			</div>
			<%-- 索引 --%>
			<div title="<%=PlatformLocalesJSTL.getBundleValue("lantop.basicdatamanager.libstructuredefine.index","i18n.lantop",locale)%>" data-options=""
				style="overflow: hidden;" id="tabIndex"
				data-options="fit:true">
				<iframe id="iframe_tab_index" frameborder="0"
					style="width: 100%; height: 100%; overflow: hidden;" src=""></iframe>
			</div>
		</div>
	</div>
</body>
</html>
